import Vue from 'vue';
import VueRouter from 'vue-router';

import home from './home';
import course from './course';
import community from './community';
import bosses from './bosses';
import school from './school';

Vue.use(VueRouter);

const routes = [...home, ...course, ...community, ...bosses, ...school];

const router = new VueRouter({
  routes,
});

export default router;
